package cn.yup.service;

        import cn.yup.domain.Employee;
        import cn.yup.query.EmployeeQueryObject;
        import com.github.pagehelper.PageInfo;

        import java.util.List;

public interface IEmployeeService {


    PageInfo findAll(EmployeeQueryObject qo);

    void deleteById(Long id);


    Employee findById(Long id);


    void saveOrUpdate(Employee employee, Long[] ids);

    Employee login(String username, String password);

    List<Employee> listAll();
}
